/* xhs-Cookie获取工具 - 悬浮窗样式 */
#xhs-cookie-sidebar {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 260px;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}

.xhs-cookie-container {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 15px;
  animation: xhs-sidebar-slide-in 0.3s ease;
}

@keyframes xhs-sidebar-slide-in {
  0% {
    opacity: 0;
    transform: translateX(20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.close-button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.close-button:hover {
  opacity: 1;
}

#xhs-cookie-data {
  width: 100%;
  height: 80px;
  margin: 10px 0;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  resize: vertical;
  font-family: monospace;
  font-size: 12px;
}

#xhs-copy-button {
  width: 100%;
  padding: 8px;
  background-color: #ff2442;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: background-color 0.2s;
}

#xhs-copy-button:hover {
  background-color: #e61e39;
}

#xhs-status {
  margin-top: 8px;
  padding: 6px 0;
  text-align: center;
  font-size: 12px;
  min-height: 16px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.success {
  color: #34c759;
}

.error {
  color: #ff3b30;
}

.header {
  text-align: center;
  margin-bottom: 12px;
  user-select: none;
}

h2 {
  margin: 0 0 4px 0;
  color: #ff2442;
  font-size: 12px;
  font-weight: 600;
}

.draggable {
  cursor: move;
}

.header a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.header a:hover {
  color: #ff2442;
}
